package org.momin.controller;

import org.momin.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user")
public class UserInfoController {
	@Autowired
	UserInfoService service;
	@RequestMapping(value="/getAllUser")
	public String getAllUser(){
		System.out.println(service.getAllUser());
		return "index";
	}
	@RequestMapping(value="get")
	public String get(){
		System.out.println("get");
		return "index";
	}
}
